package com.taiyo.modules.api.service;

import com.taiyo.modules.api.entity.TCommentEntity;

import java.util.List;
import java.util.Map;

/**
 * 评论
 * 
 * @author zkcn
 * @email youeremail@163.com
 * @date 2018-01-23 11:16:44
 */
public interface TCommentService {
	
	TCommentEntity queryObject(Long id);
	
	List<TCommentEntity> queryList(Map<String, Object> map);
	
	int queryTotal(Map<String, Object> map);
	
	void save(TCommentEntity tComment);
	
	void update(TCommentEntity tComment);
	
	void delete(Long id);
	
	void deleteBatch(Long[] ids);

	List<TCommentEntity> queryObjectByParams(Map<String, Object> map);
}
